css: Add _gtk_css_matcher_matches_any()
authorAlexander Larsson <alexl@redhat.com>
Wed, 28 Nov 2012 10:07:52 +0000 (11:07 +0100)
committerAlexander Larsson <alexl@redhat.com>
Fri, 30 Nov 2012 13:53:29 +0000 (14:53 +0100)
commit16f2b20f9610d7d6658c6b14c9e95f0bf6384fd9
tree6a6199b5394748d1f0d2e1f80e4151101687d1a5
parent3b4040d619baae171cc51ca66b34b8b983f6b480
css: Add _gtk_css_matcher_matches_any()

This returns true if the matcher matches *anything*. We need
to check this later, because such matchers are dangerous in loops
that iterate over all parents/siblings since such loops would not
terminate.
gtk/gtkcssmatcher.c
gtk/gtkcssmatcherprivate.h